]> dgit.raspbian.org Git - gnome-shell.git/commit
status/bluetooth: Show immediate feedback on toggle
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 22 Aug 2022 22:06:42 +0000 (00:06 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 1 Sep 2023 11:37:04 +0000 (11:37 +0000)
commit56103edc0e88e61e3df50af222c7fbd7bdf3e595
treec6539713a3d3224a0959793f85150de0254100ba
parent8c57eab5e6cb0c95b56089f9d804cb07a2fb2073
status/bluetooth: Show immediate feedback on toggle

Since commit 6a23e8ee0f4, we use the adapter state (that includes
transitional state) to indicate progress when a state change takes
a long time.

However on many systems, the delay happens on the rfkill side,
before a change request even reaches the adapter.

Address this by temporarily overriding the adapter-state with the
expected transitional state, until an actual adapter state change
occurs.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5773

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2815>
js/ui/status/bluetooth.js